import Vue from 'vue'
import Router from 'vue-router'
import main from '../../frontend/html/index'
import single from '../../frontend/html/article/single'
import personal from '../../frontend/html/personal/index'
import photo from '../../frontend/html/photo/index'
import message from '../../frontend/html/message/index'
import more from '../../frontend/html/photo/more.vue'
import '../../../static/css/frontend/article/index.css'

import speak from '../../frontend/html/speak/index.vue'
Vue.use(Router)

export default new Router({
  /*  mode:'history',*/
    routes: [
        {
            path: '/',
            name: 'main',
            component: main
        },
        {
            path: '/article',
            name: 'article',
            component: single
        },
        {
            path: '/speak.html',
            name: 'speak',
            component: speak
        },
        {
            path: '/personal.html',
            name: 'personal',
            component: personal
        },
        {
            path: '/photo.html',
            name: 'photo',
            component: photo
        },
        {
            path: '/message.html',
            name: 'message',
            component: message
        }, {
            path: '/more.html',
            name: 'more',
            component: more
        }
    ]
})
